package com.server.core.anno;

import com.server.core.enums.HttpMethod;
import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)   /// 将生效时间设置为运行时生效，
@Inherited                            /// 设置为可以继承
@Target(ElementType.METHOD)
public @interface RequestMapping {
    String value();

    HttpMethod method() default HttpMethod.GET;
}
